package com.hyy.customer.service.impl;

import cn.hutool.core.collection.CollUtil;
import com.hyy.api.domain.provider.vo.ProvProviderChannelVo;
import com.hyy.customer.mapper.ModCstmProvProviderChannelMapper;
import com.hyy.customer.service.IModCstmIProvProviderChannelService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@RequiredArgsConstructor
public class ModCstmIProvProviderChannelServiceImpl implements IModCstmIProvProviderChannelService {

    private final ModCstmProvProviderChannelMapper baseMapper;

    @Override
    public List<ProvProviderChannelVo> queryByIds(List<Long> ids) {
        if(CollUtil.isEmpty(ids)) return CollUtil.newArrayList();
        return baseMapper.selectVoByIds(ids);
    }
}
